//C12:12.2:forc99.c -- C99 code blocks.
#include <stdio.h>

int main(void)
{
	int n = 10;

	printf("Initiallly, n = %d\n", n);
	for (int n = 1; n < 3; n++)
	{
		printf("loop 1: n = %d\n", n);
	}

	printf("After loop l, n = %d\n", n);

	for (int n = 1; n < 3; n++)
	{
		printf("loop 2 index n = %d\n", n);
		int n = 30;
		printf("loop 2: n = %d\n", n);
		n++;
	}

	printf("After loop 2, n = %d\n", n);
}
